[Archivesspace_Users_Group] Trying to get Google Analytics and Google Tag Manager running on our site but getting an error...

Gadsby, Eric T. egadsby at towson.edu
Thu Mar 26 10:47:15 EDT 2020


Thanks,  we use the built in Jetty server and only changes we have made a via AS’s config file.    We can check with the firewall folks 😊



[Towson University logo]<http://www.towson.edu/>
Eric T. Gadsby
Pronouns: he/him/his
IT Operations Specialist  |  Albert S. Cook Library
—
P: 410-704-3340
SMS: ‪443-338-3792
egadsby at towson.edu<mailto:egadsby at towson.edu>  |  libraries.towson.edu<http://www.towson.edu/https:/libraries.towson.edu>
 —

Confidentiality Notice: This message may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent to you in error, please notify the sender by replying to this transmission, or by calling Albert S. Cook Library at 410-704-3340 .



From: <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Blake Carver <blake.carver at lyrasis.org>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Date: Thursday, March 26, 2020 at 10:42 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Trying to get Google Analytics and Google Tag Manager running on our site but getting an error...

[EXTERNAL EMAIL - USE CAUTION]
“[Error] Refused to load https://www.googletagmanager.com/gtag/js?id=UA-29990687-8 because it appears in neither the script-src directive nor the default-src directive of the Content Security Policy.”

Chances are good that the CSP is controlled at the firewall or the probably the webserver config. Content Security Policies come from things outside of ArchivesSpace, so I'd start with the webserver and then ask the firewall folks. It's a standard(ish) error and is not part of ArchivesSpace, you can read quite a bit about this out on the web.

________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Gadsby, Eric T. <egadsby at towson.edu>
Sent: Wednesday, March 25, 2020 1:35 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Trying to get Google Analytics and Google Tag Manager running on our site but getting an error...


Hi,



So we added the two scripts to our  layout_head.html.erb but now we are getting the a browser error and no reports back to Google.  Here is the error:



“[Error] Refused to load https://www.googletagmanager.com/gtag/js?id=UA-29990687-8 because it appears in neither the script-src directive nor the default-src directive of the Content Security Policy.”



Is the an AS config error or something with our server’s firewall (our provider locks down things rather heavily)?  Any tips on where to start would be great!







[Towson University logo]<http://www.towson.edu/>

Eric T. Gadsby

Pronouns: he/him/his

IT Operations Specialist  |  Albert S. Cook Library

—

P: 410-704-3340

SMS: ‪443-338-3792
egadsby at towson.edu<mailto:egadsby at towson.edu>  |  libraries.towson.edu<http://www.towson.edu/https:/libraries.towson.edu>
 —



Confidentiality Notice: This message may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent to you in error, please notify the sender by replying to this transmission, or by calling Albert S. Cook Library at 410-704-3340 .




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200326/3c15c272/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2211 bytes
Desc: image001.gif
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200326/3c15c272/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3585 bytes
Desc: image002.png
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200326/3c15c272/attachment-0001.png>


More information about the Archivesspace_Users_Group mailing list