-
How many posts do you have? – Maybe there are some delays because of hosting?
-
You want to create your own plugin collecting the data from Google Analytics – I’m not sure you’re able to do that.
-
“The main idea is to get views per post and store them with post meta.” –
Why do you want to collect that in post meta?
If you want to collect this data – I recommend you to create your own tables in the database.
There is a lot of ready PHP scripts which you can use for creating your custom plugin on WP. It’s the fastest way I guess.
A sample of my custom plugin for collecting stats (from the whole website).
Related Posts:
- How ( and mostly at what time ) can i prevent the alternate cron from running?
- How does task scheduler plugin implements cron that is not dependent on page load request? [closed]
- Switch from wp-cron to a server cron job
- WordPress cron job running more than once
- Cron: Update four post at Hour
- Activate Plugin Automatically After Set Time
- WordPress Cron function is not working
- Adding custom cron_schedule prior to wp_schedule_event
- Cron Job not working
- Uncaught Error: Call to undefined function wp_generate_attachment_metadata() @ wp-cron
- Schedule WordPress Auto-Updates to only run during business hours
- How do I email a new page password to somebody every month?
- What happens when wp_cron is deactivated in WordPress?
- wp_schedule_single_event function not working
- action-scheduler vs wp-background-processing
- Why is wp-cron only executing on page visit?
- How to periodically scrape and cache strings from remote txt files. – My First Plugin
- Does using WP-cron make the site slower for the user?
- wp_schedule_single_event not working: cron job is triggered but nothing gets executed
- How to make a implement queue for scheduling tasks in WordPress?
- Setup wp_schedule_event within a custom plugin
- How to set intervals in cron jobs?
- What causes wp_schedule_single_event to fire off?
- i need to make custom cron_schedule with custom interval time as a parameter into a custom payment gateway plugin wordpress
- Cron task gets removed from the schedule
- WP_CRON issue with UTC and local time
- WordPress crob job performance
- How to customize ‘recurrance’ of’ wp_schedule_event’?
- How to set-up multiple cron task with wp_schedule_event so that they do not overlap?
- Running a function using Crown WordPress on one day a week, for example, Mondays of every week
- WordPress “wp cron event run” as Siteground cron job
- Which approach for managing automatic updates would be more robust?
- Ordering taxonomies by rank
- Plugin Options not being output
- Can I create a table on my DB without creating a plugin?
- Submit Form data to another page via Ajax (WordPress Way)
- WordPress checkbox and Illegal string offset
- Is it fair to use MIT licensed code in WordPress plugins? [closed]
- How to add an element right after the article using jQuery?
- How to reset wordpress but not plugins and settings
- Include a php file from another plugin
- How do I make a secure API call from a shortcode when a button is clicked?
- Can the uniqueness of the plugin file/plugin slug and version number be trusted?
- add_submenu_page returns null
- get_option / wp_localize_script Not Working in OOP Plug In
- How to Show Author image and url in WordPress plugin directory? [closed]
- WordPress plugin: efficient way to store large data
- Plugin generating unexpected output – on WP mysql dump import
- Remember the Meta Value With Radio Buttons
- jQuery code didn’t run on my plugin
- The Events Calendar Plugin – List View Background Colour Issue [closed]
- How to embed a new string in url?
- Custom characters of tinymce editor are saved as question mark
- Custom Module, Extending WP with a Plugin?
- How do I profit from a Plugin?
- Themes conflicts and overrides my WordPress Support widget Plugin styles
- Disable Author Archive just for certain roles in bulk
- Seperate plugin and theme files
- Pass PHP variable to javascript
- Add hook after content without formatting
- User loggedin as Subscriber form not sending
- wc_get_template_part doesnt display the content [duplicate]
- How to properly use wp_mail() in my own plugin?
- admin_post hook not firing function inside class
- Thumbnail image doesn’t show up in Shortcode output
- I created a plugin with ‘view page’ that uses MYSQL + PHP. When I use wp_insert_post(), it turns everything to HTML
- list of custom post by custom field in frontend
- How to implement color picker from WordPress in my boilerplate plugin?
- custom post type plugin error [closed]
- how to auto random increment for post view
- Fatal error: require_once(): Failed opening required
- How to properly enqueue jQuery knob on WordPress without conflict?
- Problem with wordpress has_action() function
- In woocommerce, is there any way to empty wordpress default mini cart when order placed?
- Admin menu hilighting wrong item for CPT
- Not displaying Woocommerce product page in lightbox
- ajax voting for custom post type
- search into subcategories plugin subcategory value not come
- How Can the_post Be Hooked Like the_content and the_excerpt?
- Create Database Tables on Plugin Activation hook
- How to tell which Plugin is displaying?
- Change page according to fetched GET Parameters
- How to change a specific page to custom page?
- Get Core Functionality from Within a (Secondary) Plugin File
- Plugin keeps saying needs to be updated and it’s in a constant loop [closed]
- How use Dynamic hyperlink on each wordpress post?
- _e in wordpress +
- How to provide access to specific plugin to all the user roles except subscriber in wordpress
- Output pure JSON wordpress
- WordPress Code Access to Restricted Content without Registration
- how to remove a rel=”nofollow” using call to action plugin
- Activate plugin button do nothing [closed]
- A splash page on landing page
- Inline AJAX script passing variables to PHP
- How to trigger plugin migration code when plugin updates?
- How to Save Category and Delete Category in same Function
- claim a permalink and all sublinks in plugin
- Vanilla javascript in custom gutenberg block not working
- How to use `$order->get_discount_total()`, avoiding defoult WC decimal rounding?
- View Version Details” on Plugin update shows “Plugin not found
