Avoid Google Analytics 307 Internal Redirect

I was just tinkering with GA and spotted Internal Redirect in Network tab of Chrome Dev Tools

307 internal redirect

Changing http to https solves it.

Advertisements

About Michal Zuber

Full stack developer, biker and rollerblader. Owner and developer at https://nevilleweb.sk/ Co-founded http://neville.sk/ Blog at https://michalzuber.wordpress.com/
This entry was posted in analytics and tagged . Bookmark the permalink.

7 Responses to Avoid Google Analytics 307 Internal Redirect

  1. Jack Schafer says:

    Changing http to htttps where though?

  2. Jai Prakash says:

    Thank you very much 🙂

  3. suriam79 says:

    What if GA script is sent with GTM and you cannot change http to https?
    Or is there a way to change within GTM http to https for the google-analytics js?

  4. Bharat Sinha says:

    Hi You can use GA function

    _gaq.push([‘_gat._forceSSL’]); for GA classic
    and
    ga(‘set’, ‘forceSSL’, true); for Universal analytics

    to explicitly command the GA to create all its request for HTTPS protocol regardless of the protocol of hosting site.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s