You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
To allow site owners to enter their own tracking pixels, it would be best if they could generate code to make the tracking pixel. They wouldn't enter the JS, but they would enter key value pairs that would be inserted into JS on runtime.
Expected result
Site owner builds tracking pixel code themselves.
Current result
Whole JS tag has to be inserted into the database by a developer.
Issue outcome
A general pattern that can be used to create tracking pixels or a list of patterns that need developed into options.
<!--
Start of DoubleClick Floodlight Tag: Please do not remove
Activity name of this tag: CU-Boulder FY17 Students Page
URL of the webpage where the tag is expected to be placed: http://www.colorado.edu/students
This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
Creation Date: 08/29/2016
-->
<script type="text/javascript">
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('<iframe src="https://4496471.fls.doubleclick.net/activityi;src=4496471;type=bebou002;cat=cu-bo001;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
</script>
<noscript>
<iframe src="https://4496471.fls.doubleclick.net/activityi;src=4496471;type=bebou002;cat=cu-bo001;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
</noscript>
<!-- End of DoubleClick Floodlight Tag: Please do not remove -->
<!-- Twitter universal website tag code -->
<script>
!function(e,n,u,a){e.twq||(a=e.twq=function(){a.exe?a.exe.apply(a,arguments):
a.queue.push(arguments);},a.version='1',a.queue=[],t=n.createElement(u),
t.async=!0,t.src='//static.ads-twitter.com/uwt.js',s=n.getElementsByTagName(u)[0],
s.parentNode.insertBefore(t,s))}(window,document,'script');
// Insert Twitter Pixel ID and Standard Event data below
twq('init','nurff');
twq('track','PageView');
</script>
<!-- End Twitter universal website tag code -->
<!-- Google Code for Remarketing Tag -->
<!--------------------------------------------------
Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup
--------------------------------------------------->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 882382384;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/882382384/?value=0&guid=ON&script=0"/>
</div>
</noscript>
Context
To allow site owners to enter their own tracking pixels, it would be best if they could generate code to make the tracking pixel. They wouldn't enter the JS, but they would enter key value pairs that would be inserted into JS on runtime.
Expected result
Site owner builds tracking pixel code themselves.
Current result
Whole JS tag has to be inserted into the database by a developer.
Issue outcome
A general pattern that can be used to create tracking pixels or a list of patterns that need developed into options.
Sites to Check
Tracking Pixel Patterns
Doubleclick
Template example
Facebook
Template Example
Twitter
Need template...
...need second template?
Google
Template example
The text was updated successfully, but these errors were encountered: