Copy link to clipboard
Copied
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.
Thanks for the info.
You can avoid the workaround of editing the published HTML by using a publish template.
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.
Copy link to clipboard
Copied
Hi.
Which code are you using for the click tag?
Please let us know.
Regards,
JC
Copy link to clipboard
Copied
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: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...
Copy link to clipboard
Copied
OK. Thanks.
Just to make sure: do you add this code to a publish template currently?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thanks for the info.
You can avoid the workaround of editing the published HTML by using a publish template.
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.
Copy link to clipboard
Copied
It totally worked, thank you
Copy link to clipboard
Copied
Thank you!! this helped me a lot!