Skip to main content
Boerresen
Participating Frequently
May 13, 2024
Answered

How to add ClickTag without coding

  • May 13, 2024
  • 1 reply
  • 2167 views

Hi. I'm making html5 banners in Animate.
To make a clickTag I usually embed a code in the html-file.
Is there a way to make a clicktag like back in the Flash-days with a invisble button and ActionScript?
So I don't have to write any html-code but can keep everything in Animate.

This topic has been closed for replies.
Correct answer JoãoCésar17023019

Yes. I make my banner in animate. Publish it and then open the html and embed the code. And I want to avoid that. If possible I want to stay in Animate to embed a clicktag code.


Thanks for the info.

 

You can avoid the workaround of editing the published HTML by using a publish template.

 

https://community.adobe.com/t5/animate-discussions/editing-urls-for-hyperlinks-to-external-site-in-animate-2022/m-p/13205128#M356949

 

https://helpx.adobe.com/animate/using/html-publishing-templates.html

 

https://youtu.be/g7VS4qddzeA?t=771

 

Please let us know if this approach works for you.

 

 

1 reply

JoãoCésar17023019
Community Expert
Community Expert
May 13, 2024

Hi.

 

Which code are you using for the click tag?

Please let us know.

Regards,

JC

Boerresen
BoerresenAuthor
Participating Frequently
May 13, 2024

I use this code:
 
<head>
<meta name="ad.size" content="width=300,height=250">
<script type="text/javascript">
var clickTag = "http://www.google.com"; </script>
</head>

<a href="javascript&colon;window.open(window.clickTag)">
<img src="images/dclk.png" border=0>
</a>

https://support.google.com/campaignmanager/answer/3145300?visit_id=638512066003438621-603629524&rd=1#dev&zippy=%2Csample-html-document%2Csample-click-tag-insertion

JoãoCésar17023019
Community Expert
Community Expert
May 13, 2024

OK. Thanks.

 

Just to make sure: do you add this code to a publish template currently?