struggling with Google analytics

15 views
Skip to first unread message

Juan Carlos Bustamante

unread,
Feb 23, 2023, 12:02:49 PM2/23/23
to PreTeXt support
Hello to everyone,
I am having a hard time trying to setup Googla analytics for our book. 
It is available at 


By the way, I think it could be announced. It's an adaptation / translation to French of CLP-3 and CLP-4. 

In my publication.ptx file I have

<html>
        ...
        <analytics google-gst = "G-Q86VHSK9QR"/>
        <baseurl href="http://relcalc.espaceweb.usherbrooke.ca/relcalc-3"/>
</html>

I was looking for the string G-Q86VHSK9QR in the index.html file, and some other files as well, but it looks like it's not there. 

Built with cli 1.4.0

Some help? 

Thanks in advance,

JC

Rob Beezer

unread,
Feb 23, 2023, 12:11:20 PM2/23/23
to pretext...@googlegroups.com
Do your files contain: "googletagmanager" ?
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-suppo...@googlegroups.com
> <mailto:pretext-suppo...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com <https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Juan Carlos Bustamante

unread,
Feb 23, 2023, 12:27:06 PM2/23/23
to PreTeXt support
Hello,

No, I searched for "googletagmanager" in the whole directory, looks like that string is not there.

Rob Beezer

unread,
Feb 23, 2023, 12:36:20 PM2/23/23
to pretext...@googlegroups.com

Juan Carlos Bustamante

unread,
Feb 23, 2023, 1:21:51 PM2/23/23
to PreTeXt support
It did not work, so here goes the publication file.

Thanks again
publication.ptx

Rob Beezer

unread,
Feb 23, 2023, 1:40:26 PM2/23/23
to pretext...@googlegroups.com
I can't see any real problem with that publication file.

Are you sure that is the file actually being used?

Tweak something else, like switching parts from "decorative" to "structural" and
see if that has any effect.

Rob
> https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com <https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com> <https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com <https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com>> <https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com?utm_medium=email&utm_source=footer> <https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/pretext-support/ddfcbd0e-cb99-4f1d-b90b-fb499bfcdd83n%40googlegroups.com?utm_medium=email&utm_source=footer>>>.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "PreTeXt support" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> email
> > to pretext-suppo...@googlegroups.com
> > <mailto:pretext-suppo...@googlegroups.com>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/pretext-support/aa314d79-0167-4ac2-97e7-94efa63acbdcn%40googlegroups.com <https://groups.google.com/d/msgid/pretext-support/aa314d79-0167-4ac2-97e7-94efa63acbdcn%40googlegroups.com> <https://groups.google.com/d/msgid/pretext-support/aa314d79-0167-4ac2-97e7-94efa63acbdcn%40googlegroups.com?utm_medium=email&utm_source=footer <https://groups.google.com/d/msgid/pretext-support/aa314d79-0167-4ac2-97e7-94efa63acbdcn%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-suppo...@googlegroups.com
> <mailto:pretext-suppo...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pretext-support/88908918-aa69-498b-bcd1-6cc7de7dee48n%40googlegroups.com <https://groups.google.com/d/msgid/pretext-support/88908918-aa69-498b-bcd1-6cc7de7dee48n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Juan Carlos Bustamante

unread,
Feb 23, 2023, 2:08:04 PM2/23/23
to pretext...@googlegroups.com
Hello again,
I did it, actually before my previous email. I tweaked the colors, and the colors changed, so that's the right file.
I must say that while building I do get some errors, related to cross-references, and pretext build html -g throws an error : error: Unable to open http.server for interactive previews.

Thanks,

JC

To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/MTAwMDA0OS5iZWV6ZXI.1677177624%40quikprotect.
Reply all
Reply to author
Forward
0 new messages