Analytics
2.1K members online now
Discuss regaining access to Analytics accounts, restoring accounts, changing user access levels, and navigating the homepage
 
Guide Me
star_border
Reply

After moving site to Amazon S3 number of sessions dropped to near 0

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

We moved our site from a local server to an Amazon S3 bucket.  We were getting 250 to 300 sessions per month, now there are only 3 sessions for March.  Any suggestion.

1 Expert replyverified_user

Re: After moving site to Amazon S3 number of sessions dropped to near 0

Top Contributor
# 2
Top Contributor
Hi Cindy,

You might post your domain here so that we can take a look at it.

Christoph

Re: After moving site to Amazon S3 number of sessions dropped to near 0

[ Edited ]
Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hi Christoph,
domain: [mydomain].com
S3 bucket: www.[mydomain].com

Thanks,
Cindy

Marked as Best Answer.
Solution
Accepted by topic author Cindy R
April 2016

Re: After moving site to Amazon S3 number of sessions dropped to near 0

Top Contributor
# 4
Top Contributor
Hi Cindy,

okay - I see the reason: You're trying to include the Google Analytics code from an IFrame page at line

<iframe style="width:100%" src="/includes/footer.htm"></iframe>

That won't work because footer.htm is a separate page from a tracking point of view.

Just directly include the GA code in the HTML HEAD area of your web pages.

Christoph

Re: After moving site to Amazon S3 number of sessions dropped to near 0

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Thank you!