• Resolved jetxpert

    (@jetxpert)


    Good Day!

    Analytify’s email report displays a button in the footer titled “GO TO MY DASHBOARD.”

    The URL associated with the button is:

    https://www.mywebsite.com/wp-admin/admin.php?page=analytify-dashboard

    Unfortunately, the button does not work for websites that have a hidden or custom login URL. For example, where the term /wp-admin/ has been replaced by the term /my-custom-login/

    Details: https://prnt.sc/1ct3tt3

    Based on the above, kindly provide a filter that will address and fix this condition.

    Other plugins, such as Rank Math, have already developed a filter to address the same situation for their plugin.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter jetxpert

    (@jetxpert)

    Helpful Information:

    To assist you, here’s the filter that Rank Math developed for the same condition:

    Filter to Change the Email SEO Report Button URL:

    add_filter( 'rank_math/analytics/email_report_variables', function( $vars ) {
    	$vars['report_url'] = "https:://newlogin-url.com";
    	return $vars;
    } );

    Cheers!

    Hi @jetxpert

    Thank you for reporting the problem with the custom login url.

    We will address the issue in the future update.

    Thread Starter jetxpert

    (@jetxpert)

    Hi @artisticasad,

    Awesome!

    Please know there is no need to do anything to your plugin. Only a filter (code snippet) is needed.

    Now, if you guys can modify your plugin to read “custom” login URLs, that would be a bonus.

    Thank you.

    @jetxpert

    We have provided the filter in our latest update.

    You can check our filters doc here: https://analytify.io/doc/analytify-filters/

    Thread Starter jetxpert

    (@jetxpert)

    @artisticasad,

    Wow! Worked like a charm. Thank you so much.

    Cheers!

    Thread Starter jetxpert

    (@jetxpert)

    Update:

    Unfortunately, your filter is not working. When we reported it was working (above), it happened to work because our browser previously cached (from a previous login session) the “/wp-admin/wp-admin.php…” link that is contained in the button.

    In any case, we generated a new topic to report your filters are not working.

    Cheers!

    Thread Starter jetxpert

    (@jetxpert)

    Final Update:

    Good news! The filter does work – as reported here.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Need Filter for Email Report (Footer Link)’ is closed to new replies.