Jump to content

Header Code Injection - No Longer Working

Recommended Posts

Site URL: http://www.analogforevermagazine.com

Hello,

I think this is an easy question. I did have this working but I have no idea why it no longer is working. All I did is get an updated code from the website I am using to build the ad. I am trying to use this code to inject using sitewide code injection for the header to display a reveal ad. The code is:

 

<!-- Ad Tags for Header Test -->
<!-- Ad Group Base Dimensions: 0X0 -->
<!-- Tag Ad Server: Generic Tag -->
<!-- Group Placement ID: 62c68fc3-5666-40e0-98f2-339e31f3adb0 -->
<script type="text/javascript" src="https://ads.adventive.com/ad?j&gid=62c68fc3-5666-40e0-98f2-339e31f3adb0&sid=1241&pcid=72537&cb=[RANDOM_NUMBER]&click=[CLICK_TRACKER_ENC]&enc=1&fb_url=%%FRAME_BREAK_URL%%&ref="></script>
<noscript><img border="0" src="https://ads.adventive.com/ad?f&gid=62c68fc3-5666-40e0-98f2-339e31f3adb0" width="0" height="0" /></noscript>
<!-- End of Group Placement ID: 62c68fc3-5666-40e0-98f2-339e31f3adb0 -->

 

It is no showing up on any of my pages. Can anyone recommend a solution? 

Link to comment
  • Replies 5
  • Views 523
  • Created
  • Last Reply
24 minutes ago, michaelbehlen said:

Site URL: http://www.analogforevermagazine.com

Hello,

I think this is an easy question. I did have this working but I have no idea why it no longer is working. All I did is get an updated code from the website I am using to build the ad. I am trying to use this code to inject using sitewide code injection for the header to display a reveal ad. The code is:

 


<!-- Ad Tags for Header Test -->
<!-- Ad Group Base Dimensions: 0X0 -->
<!-- Tag Ad Server: Generic Tag -->
<!-- Group Placement ID: 62c68fc3-5666-40e0-98f2-339e31f3adb0 -->
<script type="text/javascript" src="https://ads.adventive.com/ad?j&gid=62c68fc3-5666-40e0-98f2-339e31f3adb0&sid=1241&pcid=72537&cb=[RANDOM_NUMBER]&click=[CLICK_TRACKER_ENC]&enc=1&fb_url=%%FRAME_BREAK_URL%%&ref="></script>
<noscript><img border="0" src="https://ads.adventive.com/ad?f&gid=62c68fc3-5666-40e0-98f2-339e31f3adb0" width="0" height="0" /></noscript>
<!-- End of Group Placement ID: 62c68fc3-5666-40e0-98f2-339e31f3adb0 -->

 

It is no showing up on any of my pages. Can anyone recommend a solution? 

you should show us your site url to check the issue on live site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
16 hours ago, michaelbehlen said:

I believe this has been in the code when it used to work.

Perhaps some kind of demo period has expired.

Quote

Generic tags contain placeholder macros for cache busting (RANDOM_NUMBER) and click tracking (CLICK_TRACKER). The publisher’s trafficking team will need to replace RANDOM_NUMBER and CLICK_TRACKER with your required cache buster and click URL macros.

From Adventive Knowledge Base < https://support.adventive.com/hc/en-us/articles/203042139-Generic-Tag-Format >.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.