Skip to main content
Boerresen
Participating Frequently
May 13, 2024 1:16 PM UTC
Answered

How to add ClickTag without coding

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 is closed to new replies. Start a new post to keep the conversation going.
JoãoCésar17023019
JoãoCésar17023019Correct answer
Community Expert
May 14, 2024 11:09 AM UTC

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.

 

 

7 replies

JoãoCésar17023019
Community Expert
Community Expert
May 13, 2024 1:35 PM UTC

Hi.

 

Which code are you using for the click tag?

Please let us know.

Regards,

JC

Translate
Boerresen
BoerresenAuthor
Participating Frequently
May 13, 2024 2:19 PM UTC

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

Translate
JoãoCésar17023019
Community Expert
Community Expert
May 13, 2024 5:30 PM UTC

OK. Thanks.

 

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

Translate