Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
sarahvko

iOS smart app banner - header injection code not working

Question

Site URL: https://violin-dove-sdn3.squarespace.com/

Hi! I'm trying to add a smart app banner to the homepage of our website and I've used the following code and injected it into the header code injection section:

<script>
var meta = document.createElement('meta');
meta.name = 'apple-itunes-app';
meta.content = 'app-id=1434995457';
document.getElementsByTagName('head')[0].appendChild(meta);
</script>

If you have any idea why this isn't working, I would really appreciate your help! Thanks 🙂

Share this post


Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...