Support

Home Forums Event Espresso Premium Addwords Conversion Pixels

Addwords Conversion Pixels

Posted: December 3, 2015 at 7:20 am


SafetyTrainer

December 3, 2015 at 7:20 am

I need to add a tracking pixel to each of our thank pages for each event we have set up. How could I go about adding a tracking pixel to each thank you page for every event.

I understand that there is only one thank you page and the data is for the event is populated with a short code but I need to track every event individually.

IF this is not possible is there a way I can add a redirect to my own thank you page? If possible I would create a thank page for each of my events and i can place my conversion tracking pixel on that page.

Thank you for any suggestions.


SafetyTrainer

December 3, 2015 at 1:40 pm

Additional information, we are using EE3.


Josh

  • Support Staff

December 3, 2015 at 1:49 pm

You should be able to add your tracking pixel code to each event’s Event Meta using a meta key. Then, the Thank You page will load the correct tracking pixel for the event that just got registered for.

https://eventespresso.com/wiki/shortcodes-template-variables/#ee-meta


SafetyTrainer

December 3, 2015 at 1:55 pm

Thanks Josh, I will try this out.


SafetyTrainer

December 3, 2015 at 3:13 pm

I created a key in the Event Meta box I labeled it event_pixel and pasted the adwords remarketing pixel in the Value field. Then I saved the event.

Then I placed the following short code in the even description…
[EE_META type=”event_meta” name=”event_pixel”]
and saved the event.

Then when I go to the event page and check for the pixel with the Google Tag Assistant it does not pick up the pixel.

Is the procedure above correct or do I need to do something else?


Josh

  • Support Staff

December 4, 2015 at 6:00 am

It’s not correct partly because the shortcode needs to be on the Thank You page, not in the event description.

It may help to see some examples of your tracking pixel code, then I can show you how to add the meta key code via a functions file.


SafetyTrainer

December 7, 2015 at 5:56 am

Hi Josh,

Here is one of the tracking pixels I am using from Google Adwords

<!– Google Code for Forklift Training Conversion Page –>
<script type=”text/javascript”>
/* <![CDATA[ */
var google_conversion_id = 1039684202;
var google_conversion_language = “en”;
var google_conversion_format = “3”;
var google_conversion_color = “ffffff”;
var google_conversion_label = “VoVqCIyd7gcQ6qTh7wM”;
var google_conversion_value = 95.00;
var google_conversion_currency = “USD”;
var google_remarketing_only = false;
/* ]]> */
</script>
<script type=”text/javascript” src=”//www.googleadservices.com/pagead/conversion.js”>
</script>
<noscript>
<div style=”display:inline;”>

</div>
</noscript>

I’m copy and pasting this the above code into the “value” field of the related meta key I named “event_pixel”

I have placed the shortcode on the event page to test and see if the pixel is loading using the following shortcode below but I am not able to detect it with the tag assist manager.

[EE_META type=”event_meta” name=”event_pixel”]

I look forward to your suggestions.

Glen


Josh

  • Support Staff

December 7, 2015 at 4:35 pm

Hi Glen,

That’s a lot of code and the EE_META keys are not intended to output JavaScript code. The code parts of your tracking pixel will be best added via a custom function. Can you let me know which parts of the tracking code will be unique? For example, I can imagine that the _conversion_id, _conversion_language, and _conversion_format will be the same for every event. Are conversion_label and _conversion_value the unique parts?

The support post ‘Addwords Conversion Pixels’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso