Top Poster
#1 ramon fincken 390
#2 Site admin 3
#3 Ber|Art 2
#4 braddmark 1
#5 accentmedia 1
#6 Xarzu 1
#7 pEcosespedex 1
#8 khadish 1
#9 moxxx 1
#10 nistelrock 1

The time now is Mon Apr 23, 2018 11:20 am
Ramonfincken.com Forum Index
View unanswered posts
[solution] How to see google tag manager data in google analytics
Author ramon fincken :: Posted: Tue Apr 10, 2018 8:07 am :: Category: HTML and other markup&programming languages


Did you create google tag manager tags? And triggers? Combine them with google analytics first.

Now make sure your GTM tag track type is "Event".
This will allow you to see hits in Google analytics on the Real time tab -> Events.

Note: I am not a GTM expert, but this is the only way I found to actually show the data.
A fine tutorial can be found here: https://johannesmehlem.com/blog/google-...g-manager/ and https://parall.ax/blog/view/3236/tutori...onversions


Google Tag manager





Google analytics





[SOLUTION] pfx to crt
Author ramon fincken :: Posted: Thu Apr 05, 2018 6:44 pm :: Category: Bash, perl, python and CLI linux


Code:
openssl pkcs12 -in [file.pfx] -clcerts -nokeys -out [certificate.crt]


Autostart kodi on raspberry pi
Author ramon fincken :: Posted: Fri Mar 23, 2018 10:09 am :: Category: Bash, perl, python and CLI linux


sudo edit
/etc/default/kodi

set enabled =1
set user = pi

no kodi autostart after reboot?
set your graphics memory to 128 MB


What is X-Redirect-Agent header?
Author ramon fincken :: Posted: Thu Jan 25, 2018 7:25 am :: Category: CMS-ses (Joomla, WordPress, etc..)


If your WordPress curl
Code:
curl -v https://www.domain.com/page/


Results in this header
Code:
X-Redirect-Agent: redirection
then the plugin Redirection is active , check your redirects in WP-admin!

[CURL] Time for request
Author ramon fincken :: Posted: Sun Sep 17, 2017 7:51 am :: Category: Bash, perl, python and CLI linux
Tagged: , , , , ,


When not using apachebench use this

Code:
curl -o /dev/null -s -w %{time_total}\\n  http://www.google.com


Source:
https://viewsby.wordpress.com/2013/01/0...with-curl/


[solution] laravel commandline auto yes seed artisan migrate
Author ramon fincken :: Posted: Sat May 13, 2017 8:26 am :: Category: PHP coding


use expect to answer "yes" to all questions, handy if you script your deploys remotely

Code:
!/usr/bin/expect -f
set timeout -1
spawn php artisan migrate:refresh --seed
match_max 1000000
expect "*you really*" { send "yes\r" }
expect "*you really*" { send "yes\r" }
expect "*you really*" { send "yes\r" }
expect "*you really*" { send "yes\r" }
expect eof


call

Code:
expect yourscript.sh


Htaccess rewrite whole site but keep lets encrypt well-known out of rewrite
Author ramon fincken :: Posted: Thu Mar 23, 2017 2:46 pm :: Category: PHP coding


Code:
RewriteEngine on

RewriteBase /
RewriteRule ^(.well-known)($|/) - [L]
RewriteRule ^(.*)$ https://www.newdomain.nl/$1 [R=301,L]


This will rewrite all files and paths except for the SSL verification virtual folder .well-known to the new domain


Git copy repo but only for specific folder, keeping history
Author ramon fincken :: Posted: Fri Mar 03, 2017 1:45 pm :: Category: PHP coding


Code:
cd /git/first/clone
git subtree split --prefix=mydirectory/ --branch=mybranch2


go to your new directory outside your current git directory

Code:
cd /git/second
git init
git pull /git/first/clone namesgen


Now add to master and push to remote origin (git@github.com:joesixpack/namesgen.git)
Code:
git remote add origin git@github.com:joesixpack/namesgen.git
git push -u origin --all


Tested with git version 2.7.4
Code:
git --version
git version 2.7.4


Source: https://ariya.io/2014/07/extracting-par...he-history


All times are GMT
Who is Online
Who is Online Our users have posted a total of 396 articles
We have 26 registered users
The newest registered user is MathewCow
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest   [ Administrator ]   [ Moderator ]
Most users ever online was 41 on Wed Sep 09, 2015 1:34 am
Registered Users: None
This data is based on users active over the past five minutes
Log in
Username:    Password:      Log me on automatically each visit    

New posts New posts    No new posts No new posts    Forum is locked Forum is locked
General forums
The world of freelance
Programming
Other projects
Poll
I love gifts

Yes goodies and presents! [3]
No but I love polls ! [1]

Related google ads