Jump to content

Ezoic & Invision Compatibility


Recommended Posts

  • 4 weeks later...
On 8/21/2019 at 10:25 PM, asigno said:

I set a cookie to certain user groups, Ezoic then don't display ads to those browsers with cookies.

I use GTM to set the cookie on login.

I've recently moved one of my sites over to Ezoic. It was pretty easy through cloudflare. I had to disable some of the JS, CSS and minify settings under LEAP though, because of issues.  For disabling ads to subscriber groups, have you tried setting a meta tag under disable ads by page? Create a meta tag and then wrap it to show only for certain user groups you don't want to show ads to. Create the name and content, something like:

{{if member.inGroup('x')}}
	<meta name="ezoicstopads" content="subscribers" />
{{endif}}

image.png.38b3849c7552c73910dc8266ae6045f6.png

 

 

Link to comment
Share on other sites

  • 1 month later...
7 hours ago, AlexWebsites said:

@asigno are you using ezoic leap optimization settings? If so, what are you optimizing through ezoic and what are you running on your end in terms of caching and optimization server side; redis, etc.

Through LEAP, I only have images and content activated. Script Execution, Minify, and CSS seemed to cause some theme issues.

image.thumb.png.8a5eb8dbd2f2cb98d77fc0fb5468f57f.png

I've got a lot to work on with this. I started with running Redis and having caching through Cloudflare. I tried some of the optimisations in Ezoic and had issues with CSRF keys with Invision. I had it running blistering fast, sub <2s then I started experiencing issues with users logging in. This is something I really need to start from the ground up again, but just haven't had the time.

Link to comment
Share on other sites

  • 1 month later...

Was just invited to use Ezoic Premium, @asigno, are you still using? Is anyone else? Feedback? How is it paid, from earnings or billed? With premium, is there still a rev share on top of the added fee?

My January ads have dropped off significantly. My Novemebr and December were very good, more than adsense.

Edited by AlexWebsites
Link to comment
Share on other sites

@AlexWebsites it's pretty standard for most verticals for ad rates to drop off in new year, so don't worry about that.

I'm still using Ezoic, have used it for years, and haven't managed to find anything better. I'm using Premium, can't remember what level I'm on, but they auto down scaled it due to seasonality. They auto scale it to ensure you're not paying too much for their service. I think they guarantee that you can't earn less incrementally than the extra cost you pay for the premium options.

Payment is a bug bear of mine, they don't take the payment out of your earnings, and you have to pay by credit card. Wish there was at least a PayPal option, and preferably a method to deduct from earnings. They pay out through PayPal or transfer.

Link to comment
Share on other sites

3 hours ago, asigno said:

@AlexWebsites it's pretty standard for most verticals for ad rates to drop off in new year, so don't worry about that.

I'm still using Ezoic, have used it for years, and haven't managed to find anything better. I'm using Premium, can't remember what level I'm on, but they auto down scaled it due to seasonality. They auto scale it to ensure you're not paying too much for their service. I think they guarantee that you can't earn less incrementally than the extra cost you pay for the premium options.

Payment is a bug bear of mine, they don't take the payment out of your earnings, and you have to pay by credit card. Wish there was at least a PayPal option, and preferably a method to deduct from earnings. They pay out through PayPal or transfer.

Good feedback. I suppose I can expense the fee.

Link to comment
Share on other sites

  • 4 weeks later...
On 2/11/2022 at 9:56 PM, AlexWebsites said:

I don't cache or optimize much through ezoic as it causes template issues. My current leap settings:

image.thumb.png.eae1610d0cda9a77b6ee8c6fbe2c88a3.png

Hi Alex!

Thanks for your reply! I had Leap turned off and encouraged to turn it on 🙂 

Just did it, and tried with everything in ON. The site is working well and seems that Google Speed Test improved drastically my ranking in Desktop to 92 😮 

However, in mobile is giving very poor performance. Even worse, which is a bit surprising... Did you get this feeling?

On the other hand, I turned off Caching just to see if this was in conflict with my site login. And.. it's not.  Since I have Ezoic, users from Firefox cannot login and from Chrome I also have issues, sometimes I need to do 2-3 trials until I get logged in.

Do you think I did anything wrong? :s 

Link to comment
Share on other sites

49 minutes ago, AlexWebsites said:

How are you integrating Ezoic? Is it through cloudflare? I’m running through cloudflare. Are you caching anything server side? I would make sure you aren’t caching JS as a start.

I am not running through cloudflare, just pointed my DNS to Ezoic.

I was caching and as I thought it was caching issue, turned it off so I can check the relation and... nope, even with caching off, login is not working as expected. I don't know what to do.

I wasn't using LEAP before my first post here, so it has nothing to be with LEAP as well... 

Wrote to Ezoic and am waiting if they can see anything wrongly set up.

Link to comment
Share on other sites

7 hours ago, AlexWebsites said:

@Ibai What are your ezoic cache settings? I have all cache misses because I have disabled caching for cookies. 

image.thumb.png.4c9feced5fcdf4402a6dc67bdfcfa2e3.png

 

 

My cache hit rate is always very low

image.png.ee77adc4d911286c1670bc5c53fe6fb7.png

 

Good point... In fact, it's the same... However, still with login issues. I thought it was only related to Firefox but some members claim that this happens with any browser. Eventually they manage to login, though several trials are needed.

image.thumb.png.aff2880c418ae9e00240fbbcdf6f9fb3.png

We've got different setting for Override Cache Control Headers. Could this be the issue?

Then, this is what I set up in the excluding tab. I first thought this was "do not cache", maybe I'm wrong?

image.thumb.png.540570f270f991ee070ab5b753b8c913.png

Anyhow, I turned the cache off some days ago and I was also having login issues. So it should be sth else which I don't understand... Any ideas are welcome.

Thank you very much mate!

Link to comment
Share on other sites

On 2/16/2022 at 9:26 PM, AlexWebsites said:

So how else are you caching, anything server side? 

I am testing Override Cache Control Headers on one site as of today. I turned it on to see if my cache hit rate goes on. So far no login issues. 

I don't have anything in Exclude rules

image.thumb.png.228c763ac2db0238701852d44200a173.png

Hey Alex,

Sorry for not replying earlier. I've been performing tests. Thanks for your feedback, I copied your config 😛 and understood better the behaviour.

However... still with login issues. I don't know what to do and what could be affecting to this. 

Link to comment
Share on other sites

6 hours ago, AlexWebsites said:

Do you have any cache setting via htaccess?

Are you doing anything with caching cookies either Ezoic or cloudflare?

Hi Alex,

I don't use Cloudfare and what I set up in Ezoic I already shared in this topic. I mainly copied your settings. I erased all advanced settings I had. So... not sure if the issue is there...

I don't have any additional tools, the only thing I can say is that yes, I do use .htaccess caching. I don't know if there can be conflicts with Ezoic's configuration. This is my .htaccess content:

<files config.lib.php3>
      Order Deny,Allow
      Deny From All
</files>
ErrorDocument 400 /error.php
ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php
ErrorDocument 500 /error500.html

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On

#Redirect 301 /ads.txt https://srv.adstxtmanager.com/14557/fmsite.net
#Redirect 302 ^/guias$ /articulos/

# ponemos el WWW
RewriteCond %{HTTP_HOST} ^fmsite.net$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule (.*) http://www.fmsite.net/$1 [R=301,L] 



RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) - [L,NC,R=404]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule . /index.php [L]


<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
<IfModule mod_deflate.c>
# Enables GZIP compression
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
# Remove browser bugs in old browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule>
</IfModule>
<IfModule mod_brotli.c>
AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript application/json application/x-font-ttf application/vnd.ms-fontobject image/x-icon
</IfModule>
<IfModule mod_mime.c>
    AddType text/css .css
    AddType text/x-component .htc
    AddType application/x-javascript .js
    AddType application/javascript .js2
    AddType text/javascript .js3
    AddType text/x-js .js4
    AddType text/html .html .htm
    AddType text/richtext .rtf .rtx
    AddType image/svg+xml .svg .svgz
    AddType text/plain .txt
    AddType text/xsd .xsd
    AddType text/xsl .xsl
    AddType text/xml .xml
    AddType video/asf .asf .asx .wax .wmv .wmx
    AddType video/avi .avi
    AddType image/bmp .bmp
    AddType application/java .class
    AddType video/divx .divx
    AddType application/msword .doc .docx
    AddType application/vnd.ms-fontobject .eot
    AddType application/x-msdownload .exe
    AddType image/gif .gif
    AddType application/x-gzip .gz .gzip
    AddType image/x-icon .ico
    AddType image/jpeg .jpg .jpeg .jpe
    AddType application/json .json
    AddType application/vnd.ms-access .mdb
    AddType audio/midi .mid .midi
    AddType video/quicktime .mov .qt
    AddType audio/mpeg .mp3 .m4a
    AddType video/mp4 .mp4 .m4v
    AddType video/mpeg .mpeg .mpg .mpe
    AddType application/vnd.ms-project .mpp
    AddType application/x-font-otf .otf
    AddType application/vnd.oasis.opendocument.database .odb
    AddType application/vnd.oasis.opendocument.chart .odc
    AddType application/vnd.oasis.opendocument.formula .odf
    AddType application/vnd.oasis.opendocument.graphics .odg
    AddType application/vnd.oasis.opendocument.presentation .odp
    AddType application/vnd.oasis.opendocument.spreadsheet .ods
    AddType application/vnd.oasis.opendocument.text .odt
    AddType audio/ogg .ogg
    AddType application/pdf .pdf
    AddType image/png .png
    AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
    AddType audio/x-realaudio .ra .ram
    AddType application/x-shockwave-flash .swf
    AddType application/x-tar .tar
    AddType image/tiff .tif .tiff
    AddType application/x-font-ttf .ttf .ttc
    AddType audio/wav .wav
    AddType audio/wma .wma
    AddType application/vnd.ms-write .wri
    AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
    AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/css A31536000
    ExpiresByType text/x-component A31536000
    ExpiresByType application/x-javascript A31536000
    ExpiresByType application/javascript A31536000
    ExpiresByType text/javascript A31536000
    ExpiresByType text/x-js A31536000
#   ExpiresByType text/html A3600
    ExpiresByType text/richtext A3600
    ExpiresByType image/svg+xml A3600
    ExpiresByType text/plain A3600
    ExpiresByType text/xsd A3600
    ExpiresByType text/xsl A3600
    ExpiresByType text/xml A3600
    ExpiresByType video/asf A31536000
    ExpiresByType video/avi A31536000
    ExpiresByType image/bmp A31536000
    ExpiresByType application/java A31536000
    ExpiresByType video/divx A31536000
    ExpiresByType application/msword A31536000
    ExpiresByType application/vnd.ms-fontobject A31536000
    ExpiresByType application/x-msdownload A31536000
    ExpiresByType image/gif A31536000
    ExpiresByType application/x-gzip A31536000
    ExpiresByType image/x-icon A31536000
    ExpiresByType image/jpeg A31536000
    ExpiresByType application/json A31536000
    ExpiresByType application/vnd.ms-access A31536000
    ExpiresByType audio/midi A31536000
    ExpiresByType video/quicktime A31536000
    ExpiresByType audio/mpeg A31536000
    ExpiresByType video/mp4 A31536000
    ExpiresByType video/mpeg A31536000
    ExpiresByType application/vnd.ms-project A31536000
    ExpiresByType application/x-font-otf A31536000
    ExpiresByType application/vnd.oasis.opendocument.database A31536000
    ExpiresByType application/vnd.oasis.opendocument.chart A31536000
    ExpiresByType application/vnd.oasis.opendocument.formula A31536000
    ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
    ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
    ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
    ExpiresByType application/vnd.oasis.opendocument.text A31536000
    ExpiresByType audio/ogg A31536000
    ExpiresByType application/pdf A31536000
    ExpiresByType image/png A31536000
    ExpiresByType application/vnd.ms-powerpoint A31536000
    ExpiresByType audio/x-realaudio A31536000
    ExpiresByType image/svg+xml A31536000
    ExpiresByType application/x-shockwave-flash A31536000
    ExpiresByType application/x-tar A31536000
    ExpiresByType image/tiff A31536000
    ExpiresByType application/x-font-ttf A31536000
    ExpiresByType audio/wav A31536000
    ExpiresByType audio/wma A31536000
    ExpiresByType application/vnd.ms-write A31536000
    ExpiresByType application/vnd.ms-excel A31536000
    ExpiresByType application/zip A31536000
</IfModule>
<IfModule mod_expires.c>
    # Enable expirations
    ExpiresActive On 
    # Default directive
    ExpiresDefault "access plus 2 days"
    # My favicon
    ExpiresByType image/x-icon "access plus 1 year"
    # Images
    ExpiresByType image/gif "access plus 7 days"
    ExpiresByType image/png "access plus 7 days"
    ExpiresByType image/jpg "access plus 7 days"
    ExpiresByType image/jpeg "access plus 7 days"
    # CSS
    ExpiresByType text/css "access plus 7 days"
    # Javascript 
    ExpiresByType application/javascript "access plus 1 year"
    # Fonts
    ExpiresByType font/ttf      "access plus 1 month"
    ExpiresByType font/woff     "access plus 1 month"
    ExpiresByType image/svg+xml "access plus 1 month"

</IfModule>
<FilesMatch "\.(css|htc|js|js2|js3|js4|CSS|HTC|JS|JS2|JS3|JS4)$">
    FileETag MTime Size
    <IfModule mod_headers.c>
        Header set Pragma "public"
        Header append Cache-Control "public"
    </IfModule>
</FilesMatch>
<FilesMatch "\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$">
    FileETag MTime Size
    <IfModule mod_headers.c>
        Header set Pragma "public"
        Header append Cache-Control "public"
    </IfModule>
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
    FileETag MTime Size
    <IfModule mod_headers.c>
        Header set Pragma "public"
        Header append Cache-Control "public"
    </IfModule>
</FilesMatch>

<ifModule mod_gzip.c>
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

<IfModule php7_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 512M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
   php_value upload_max_filesize 20M
   php_flag zlib.output_compression Off
</IfModule>

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 512M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
   php_value upload_max_filesize 32M
   php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 512M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php72"
   php_value upload_max_filesize 32M
   php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit

# php -- BEGIN cPanel-generated handler, do not edit
# Configure el paquete “ea-php74” como el lenguaje de programación predeterminado “PHP”.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

 

Link to comment
Share on other sites

46 minutes ago, AlexWebsites said:

I would download the htaccess from the acp as bare. Save this version to revert to after testing. See if your problem is resolved. If it is, work backwards to see if there is an issue/conflict.

Thanks for the idea once again.

Nothing, tried reseting the .htaccess and perform some login tests and still with issues. Firefox always fails and I need some trials until I get in.

Woah, what a mystery :s  😞 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...