Reply
Highlighted
Visitor
Posts: 8
Registered: ‎04-23-2018
Accepted Solution

Help adding tag with Custom Container

I'm trying to add the below script into a template and currently, it's stuck on LOADED. I have it added on between the Start and Stop of Tag Sending Code but have reached an impasse. Please help!

(function(a,b,c,d,e,f,g){e['ire_o']=c;e[c]=
e[c]||function(){(e[c].a=e[c].a||[]).push(arguments)};f=d.createE
lement(b);g=d.getElementsByTagName(b)[0];f.async=1;f.src=a;g.pare
ntNode.insertBefore(f,g);})('//d.impactradius-event.com/A134577-0
323-40b9-8b1a-6d92382a02241.js','script','ire',document,window);
Reply
0 Kudos
VIP
Posts: 202
Registered: ‎01-04-2016

Re: Help adding tag with Custom Container

Hi @bva-developer - do you have this snippet in a JavaScript extension?

 

And if so, do you have it scoped to  DOM Ready?

Contributor
Posts: 61
Registered: ‎04-20-2016

Re: Help adding tag with Custom Container

[ Edited ]

That code is adding a global variable and then inserting a script tag.

You can do it with a generic tag which might be easier:

Add a generic tag, make sure you set it to "script" in the drop down, use "//d.impactradius-event.com/A134577-0323-40b9-8b1a-6d92382a02241.js" as the path.

Then add a JS extension, scope it to the new tag and call :

window['ire_o'] = 'ire';

That should achieve the same result. 

 

Actually ignore all that, I don't think it is quite the same.  But can't see a way to delete the post.

Visitor
Posts: 8
Registered: ‎04-23-2018

Re: Help adding tag with Custom Container

[ Edited ]

@mitchellt Thanks for the response! I do not, and I don't even have it as an option within Extensions...I'm requesting access right now from the Client and will report back with results once I've set it up.

Reply
0 Kudos
Tealium Employee
Posts: 36
Registered: ‎09-01-2015

Re: Help adding tag with Custom Container

[ Edited ]

@bva-developer

Would the Impact Radius Universal Tracking Tag that's in the Tealium iQ tag marketplace work for you? It's uses the same base URL as this code snippet.

Reply
0 Kudos
Visitor
Posts: 8
Registered: ‎04-23-2018

Re: Help adding tag with Custom Container

@adam_wolfers I wish that was an option. Per the documentation: "please do not use the preset Impact Radius tags from the Tealium library but rather implement them as "custom."


That's right from Impact Radius...

Reply
0 Kudos
Visitor
Posts: 8
Registered: ‎04-23-2018

Re: Help adding tag with Custom Container

Update! Turns out I had to eliminate the line breaks to get it to work...

Thanks for the help, y'all!

 

Tealium Employee
Posts: 36
Registered: ‎09-01-2015

Re: Help adding tag with Custom Container

@bva-developer

Oh, that's unfortunate. I'll reach out to Impact Radius and see what we need to do to get our integration in-line with their expectations.

Thanks,
Adam
Reply
0 Kudos
VIP
Posts: 202
Registered: ‎01-04-2016

Re: Help adding tag with Custom Container

Update! Turns out I had to eliminate the line breaks to get it to work...

Haha - sorry didn't even think to mention that part!  Code snippets come into our hands all banged up sometimes, don't they?  

Glad to hear it's working out, @bva-developer.