Home > Technical & Creative Skills > Tracking Campaigns

Adwords Conversion Tracking In Cake ? (5)


06-11-2018 02:17 PM #1 stayhumble (Member)
Adwords Conversion Tracking In Cake ?

So the title says Cake, but im having issues setting up in Cake and also in direct networks that dont use cake.

so to start off where would i add my Adwords pixel in Cake?

I have this event pixel but when i add it in cake card it doesnt take it & also when i send this to direct advertisers its the same thing

<!-- Event snippet for ConNy conversion page -->
<script>
gtag('event', 'conversion', {'send_to': 'AW-111111'});
</script>


06-11-2018 11:56 PM #2 Mr Baffoe (Veteran Member)

Hi there,

assuming Cake is allowing you to set a script based pixel, you are going to need the rest of your adwords pixel code (Global site tag) before you actually fire the conversion with the code you have above.


06-12-2018 12:38 AM #3 tono (Member)

Hey stayhumble,

First you'll want to confirm with the network or advertiser that the offer is set up to allow for iframe pixels.
In the event that it doesn't, you'll have to ask your account manager to have it placed manually for you.

If it's good, then here's what you can do...

1. Copy the tag from Adwords and paste in Testing & Tracking > Pixel HTML
Click image for larger version. 

Name:	b0819a0d1109307b55c1c03b55049955.png 
Views:	21 
Size:	106.7 KB 
ID:	19054

2. Before saving make sure the two links are secured (switched to https).

Example

HTML Code:
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
to
HTML Code:
<script type="text/javascript" src="https://www.googleadservices.com/pagead/conversion.js">
Hope this helps!


06-12-2018 09:10 PM #4 stayhumble (Member)

Quote Originally Posted by Mr Baffoe View Post
Hi there,

assuming Cake is allowing you to set a script based pixel, you are going to need the rest of your adwords pixel code (Global site tag) before you actually fire the conversion with the code you have above.
so your saying it should look like this?

<!-- Global site tag (gtag.js) - Google AdWords: 11111 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-11111"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'AW-111111');
</script>

<!-- Event snippet for ConNy conversion page -->
<script>
gtag('event', 'conversion', {'send_to': 'AW-111111'});
</script>


06-13-2018 01:20 AM #5 Mr Baffoe (Veteran Member)

Yes, that's correct


Home > Technical & Creative Skills > Tracking Campaigns