- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
03-04-2016 01:38 AM - edited 03-04-2016 07:43 AM
Hi guys,
For the last few days I have been trying to figure out how to set-up Tealium so that a custom Bing tracking code is fired when a user clicks on any one of two buttons on the page.
Here is what the tracking code looks like:
<script>
window.uetq = window.uetq || [];
window.uetq.push
({ 'ec':'3rdparty_mobile', 'ea':'application_submit', 'el':'apply_now_click', 'ev':1 });
</script>
I don't know if there is an easier way to do this but here is what I have done so far (which is not working):
1. I created a custom container in Tealium.
2. In load rules, I set the tag to fire when EventLabel contains either one or the other button. Here is what it looks like:
The "JA apply jump footer" event is set-up to work in the following way (the other one is almost the same):
3. I followed this guide (https://community.tealiumiq.com/t5/Tealium-iQ/Tealium-Custom-Container/m-p/1182/highlight/true#M3746... to add the JavaScript tracking code to the Tag template. Here is where/how I inserted it into the code:
However, while following the guide above, I skipped steps 4-6. Since the tag never changes I don't need to dynamically pass any values to it. As far as I can tell, I shouldn't need to add any data mappins for this to work, however please correct me if I am wrong. At the moment, I did not set-up any data mappings at all. Could this be the issue? Do I need to set-up any data mappings?
I am very new to Tealium so I assume I have missed some important step or I am doing something wrong. I'd be very grateful for any help.
Thanks a lot in advance.
03-04-2016 07:28 AM
Hi @tibor28
I'm afraid your pictures didn't come through. However it sounds like you have given this a good try.
I would suggest raising a support request via:
https://community.tealiumiq.com/t5/custom/page/page-id/support-contact-form
Or contacting your Account Manager to get a Solutions Engineer to help you with this.
That way we can arrange a screen share and walk through getting this working for you.
Regards,
Adrian
03-04-2016 07:45 AM - last edited on 03-04-2016 09:41 AM by kathleen_jo
Hi @adrian_browning,
I have fixed the images, they should be showing fine now. Can you please take a look if you see something obviously wrong with my set-up before I contact the support or the account manager?
Thanks
03-07-2016 02:52 AM
Hi @tibor28
So my first thought is, that you need to add the link ability to the tempate.
Once that is done, you should start seeing the tracking happen.
Adrian
03-07-2016 03:14 AM
Thanks for the suggestion Adrian. I've made the changes to the tag template that you suggested so hopefully this will solve the issue. I will update this thread in a few hours once I know whether the change worked (Bing conversion tracking takes a while to refresh).
03-07-2016 08:15 AM
03-07-2016 08:27 AM
There shouldn't be an issue with it no mappings.
Have you confirmed that the jQuery handler is working, when the element is clicked?
Also, is this an off page element? As in when it is clicked does the page navigate?
When does the tag load?
Is there any accompanying code that calls in a file to process this object?
I think, at this point we would need to take a look at the full set-up in iQ and a test page. If you can contact support@tealium.com, we will get someone to look into this for you.
Adrian
03-07-2016 12:15 PM
You can also submit a support ticket here, @tibor28.
Copyright All Rights Reserved © 2008-2023